export default defineNuxtRouteMiddleware((to, from) => {
  if (to.path === "/middleware") {
    console.log("middleware2 中间件执行了")
    return navigateTo("/login")
  }
})